<!--
*
*我的收藏 -医生列表
*
 -->
<template>
  <div class="login">
    <nav-bar
      navBarClass="nav-bar-white"
      leftIcon="arrow-left"
      rightIcon="ellipsis"
      :titleCenter="titleCenter"
      titleLeft=""
      titleRight=""
    ></nav-bar>
    <con-com> </con-com>
  </div>
</template>
<script>
import navBar from "@c/navBar";
import conCom from "./components/index";
export default {
  name: "add_doctor",
  data() {
    return {
      titleCenter: "登录",
      jiankang: "",
      dingdan: "",
      doctorlist: ""
    };
  },
  components: {
    navBar,
    conCom
  },
  methods: {
    handleClickLeft(val) {
      //           this.dingdan=JSON.parse(localStorage.getItem('dingdan'))
      //  this.jiankang=JSON.parse(localStorage.getItem('jiankang'))
      //  this.doctorlist=JSON.parse(localStorage.getItem('doctorlist'))
      //       if(this.jiankang){
      //         this.$router.push({
      //           name:"jiankangkepu"
      //         })
      //       }
      //       if(this.dingdan){
      //         this.$router.push({
      //           name:"Home"
      //         })
      //       }
      //       if(this.doctorlist){
      //          this.$router.push({
      //           name:"select-department"
      //         })
      //       }
      //      this.$router.push({
      //        name:"Home"
      //      })
      this.$router.go(-1); //返回上一层

      // this.$router.push({
      //   name:"Mine"
      // })
      // on confirm
    },
    handleClickRight(val) {
      window.console.log(val);
    }
  }
};
</script>
